package com.zl.service.impl;

import com.zl.dao.OrderDao;
import com.zl.pojo.Order;
import com.zl.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderServiceImpl implements OrderService {
    @Autowired
    private OrderDao od;
    @Override
    public List<Order> queryOrderByUserId(int userId) {
        return od.queryOrderByUserId(userId);
    }
}
